package com.dimples.dd.system.model.query;

import com.dimples.dd.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Schema(description = "访问令牌分页 Query")
@Data
@EqualsAndHashCode(callSuper = true)
public class OAuth2AccessTokenPageQuery extends PageParam {

    @Schema(description = "username", requiredMode = Schema.RequiredMode.REQUIRED, example = "admin")
    private String username;

    @Schema(description = "授权类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "password")
    private String authorizationGrantType;

    @Schema(description = "客户端编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private String clientId;

}
